home *** CD-ROM | disk | FTP | other *** search
/ Cream of the Crop 21 / Cream of the Crop 21 (Terry Blount) (October 1996).iso / utility / time868e.zip / TIME868.HLP (.txt) < prev    next >
OS/2 Help File  |  1996-09-17  |  27KB  |  709 lines

  1.  
  2. ΓòÉΓòÉΓòÉ 1. Help for TIME868 Version 5 ΓòÉΓòÉΓòÉ
  3.  
  4. Use TIME868 to set your system clock using the Time Protocol. This protocol is 
  5. accurate to plus or minus one second. A variety of features support several 
  6. modes of operation for both permanent and dial-up access to time servers. 
  7.  
  8. TIME868 also operates as a Time Server for redistribution of accurate time to 
  9. local clients. 
  10.  
  11. TIME868 provides a graph of the adjustments made for visual reference. 
  12.  
  13. Related Information: 
  14.  
  15.      Choosing a time server 
  16.      Setting up the program 
  17.      TZenvironment variable 
  18.      Dialog fields 
  19.      Providing a time server 
  20.      USNO time server 
  21.      National Institute of Standards and Technology 
  22.      About the Time Protocol 
  23.      Registering 
  24.      Changes in Version 2 (b) 
  25.      Changes in Version 3 (c) 
  26.      Changes in Version 4 (c) 
  27.      Changes in Version 5 (c) 
  28.  
  29.  Copyright 1995,1996 Norbert Dey 
  30.  
  31.  
  32. ΓòÉΓòÉΓòÉ 2. Choosing a time server ΓòÉΓòÉΓòÉ
  33.  
  34. The basic reason for synchronizing your computer's clock is so that your value 
  35. for a particular increment of time is the same or very close to the value used 
  36. by your colleagues. 
  37.  
  38. You have two basic choices: everyone can synchronize to the same clock or 
  39. everyone can synchronize to one of several standard clocks. 
  40.  
  41. If you have no need for the exact standard value for the time, everyone simply 
  42. can synchronize to a conveniently available clock. In many applications, only a 
  43. comparison of times is necessary ... this file was created after that file ... 
  44. and so forth. As long as the clock is accurate to ordinary human standards (a 
  45. minute or so), this is sufficient. 
  46.  
  47. If it is impractical for all of your colleagues to synchronize to the same 
  48. clock, you will need to find a server which itself is traceable to a precise 
  49. standard clock. 
  50.  
  51. Some Internet service providers and larger institutions will provide time 
  52. service which is synchronized to a standard time source. If you have a local 
  53. source of accurate time, it is your best choice for a time server. 
  54.  
  55. All of the servers listed by this program are Stratum 2 or better in NTP terms. 
  56. This means that they are normally very good clocks. (Sometimes they may have 
  57. problems and drift off. A suspicious time should be checked against another 
  58. server.) 
  59.  
  60. Not all of the servers listed provide service on both TCP and UDP protocols. If 
  61. one protocol does not work, try the other. If both are provided, UDP will 
  62. generally give the best results. 
  63.  
  64. Another factor in the choice is the distance to the server in network time. A 
  65. server with a long delay will give poorer results than a server with a short 
  66. delay. Long delays are perhaps due to network congestion over that route and 
  67. therefore will be quite variable. Since the time value returned by the server 
  68. is the time at which the packet left the server, its accuracy depends on a 
  69. quick trip to your system. 
  70.  
  71. The network latency is reported in the log. This is calculated as 1/2 of the 
  72. total round trip on the assumption that the delay is symmetrical. The latency 
  73. is taken into account when computing the variance. 
  74.  
  75. A useful comparison is the difference between the latency of the selected 
  76. server and your Internet provider or gateway. I typically get 74ms latencies to 
  77. my service provider over a 28.8 modem. 
  78.  
  79. If you are operating through a firewall, your firewall system itself may be the 
  80. only outside time source, even if you have limited access to other services. 
  81.  
  82.  
  83. ΓòÉΓòÉΓòÉ 3. Help for TZ Variable ΓòÉΓòÉΓòÉ
  84.  
  85. The TZ variable is set by a line in the config.sys file. This information 
  86. corresponds to the IBM definition for the TZ variable in OS/2. 
  87.  
  88. If you are in the continental USA, use one of these: 
  89.  
  90.      set TZ=PST8PDT 
  91.      set TZ=MST7MDT 
  92.      set TZ=CST6CDT 
  93.      set TZ=EST5EDT 
  94.      set TZ=AST4ADT 
  95.  
  96.  Some other countries for examples: 
  97.  
  98.      Israel: set TZ=IST-2IDT,4,3,6,3600,10,1,6,7200,3600 
  99.      Italy: set TZ=CET-1CDT,3,-1,0,7200,10,-1,0,10800,3600 
  100.      Newfoundland: set TZ=NST3:30NDT 
  101.      New Zealand: set TZ=NZS12NZD,9,4,0,3600,3,4,0,7600,3600 
  102.      Peru: set TZ=EST5EST,1,0,0,3600,2,0,0,3600,0 
  103.      Singapore: set TZ=SST-8SST,1,1,1,0,1,1,1,0,0 
  104.  
  105.  Some countries and parts of the USA do not change time during the summer. For 
  106.  these, use the following form: 
  107.  
  108.  set TZ=AAAOAAA,1,1,1,0,1,1,1,0,0 
  109.  
  110.  where AAA is the name of the time zone (MST for Mountain Standard Time, CST 
  111.  for Central Standard Time, SST for Singapore Standard Time) and O is the 
  112.  offset from UTC/GMT. 
  113.  
  114.  Otherwise you can construct your own TZ variable from the following 
  115.  information. The string is composed of 10 parameters, separated by commas. The 
  116.  first parameter is SSSnDDD where SSS is a 3-character label for standard 
  117.  (winter) time. This is usually all letters, but can contain digits and blanks 
  118.  after the first character. DDD is a corresponding label for daylight savings 
  119.  time (summer time). 
  120.  
  121.  The n between the SSS and DDD is the number of hours UTC is different from 
  122.  your local time (UTC - local time). Use +n or -n as appropriate. 
  123.  
  124.  If your local time zone is not an even number of hours from UTC, you may use 
  125.  the form [+/-]hh:mm:ss. For example, PST+8:00:00PDT. Warning, this extended 
  126.  form was first introduced in CSD10 for the IBM C compiler in August 1994 (see 
  127.  APAR PJ14456). Other programs linked before CSD10 may not recognize this form. 
  128.  
  129.  The remaining parameters deal with the dates and times when the change is made 
  130.  to summer time and back to winter time. If your time changes follow the USA 
  131.  rules, then you do not need to supply the remainder of the parameters. 
  132.  Otherwise you need to supply them all. If only a portion of the additional 
  133.  parameters are supplied, the whole set will be ignored and they will appear to 
  134.  be totally ineffective. 
  135.  
  136.  Parameters 2-5 describe the start of summer time. 
  137.  
  138.  Parameter 2 The starting month of summer time (1-12). 
  139.  
  140.  Parameter 3 The starting week of summer time according to the following list: 
  141.  
  142.      1 - the first week of the month 
  143.      2 - the second week of the month 
  144.      3 - the third week of the month 
  145.      4 - the fourth week of the month 
  146.      0 - the change occurs on a specific day of the month 
  147.      -1 - the last week of the month 
  148.      -2 - the next to last week of the month 
  149.      -3 - the second to last week of the month 
  150.      -4 - the third to last week of the month 
  151.  
  152.  Parameter 4 The starting day of summer time. The day of the month (1-31) if 
  153.  parameter 3 was 0, otherwise the day of the week (0-6). 
  154.  
  155.  Parameter 5 The starting time-of-day (local time) in seconds. (3600 seconds is 
  156.  1AM.) 
  157.  
  158.  Parameters 6-9 describe the end of summer time. 
  159.  
  160.  Parameter 6 The starting month of winter time. 
  161.  
  162.  Parameter 7 The starting week of winter time (coded like parameter 3.) 
  163.  
  164.  Parameter 8 The starting day of winter time. The day of the month (1-31) if 
  165.  parameter 7 was 0, otherwise the day of the week (0-6). 
  166.  
  167.  Parameter 9 The starting time-of-day (local summer time) in seconds. (7200 
  168.  seconds is 2AM.) 
  169.  
  170.  Parameter 10 The final parameter specifies the amount of time shift in seconds 
  171.  (3600 = 1 hour.) 
  172.  
  173.  For example, I could use: 
  174.  
  175.            set TZ=PST+8PDT,4,1,0,3600,10,-1,0,7200,3600 
  176.  
  177.  In ordinary language, this reads as: Winter time is called 'PST' and summer 
  178.  time is called 'PDT'. I am 8 hours West of the zero meridian. Summer time 
  179.  starts on the first Sunday of April at 0100 local time. Summer time ends on 
  180.  the last Sunday of October at 0200 local time. When summer time is in effect, 
  181.  one hour (3600 seconds) is added to local time. 
  182.  
  183.  Note:EMX-based programs have a different format for the TZ variable. If you 
  184.  use EMX programs, you can set that variable with the name EMXTZ. If the 
  185.  variable EMXTZ is available, the EMX programs will use it in preference to the 
  186.  TZ variable. 
  187.  
  188.  
  189. ΓòÉΓòÉΓòÉ 4. Help for dialog fields ΓòÉΓòÉΓòÉ
  190.  
  191. The following panels describe the dialog fields. 
  192.  
  193.  Site      selection 
  194.  Hostname  of reference server 
  195.  IP        address of server